Cisco Packet Tracer Extensions API 8.1.0
API for communication between Cisco Packet Tracer application and its extension applications and modules.
Public Member Functions | List of all members
ArpProcess Class Reference

ArpProcess is the process that handles ARP. More...

Inheritance diagram for ArpProcess:
Process

Public Member Functions

ArpTable getArpTable ()
 Returns the ARP table. More...
 
vector< ArpRequestgetArpRequestTable ()
 This event is emitted when an ARP entry is added. More...
 
void arpEntryAdded (ip, mac, string)
 IPC event. More...
 
void arpEntryRemoved (ip, mac, string)
 This event is emitted when an ARP entry is removed. More...
 
void foundTakingMyIp (ip, mac, string)
 This event is emitted when this device discovers another device is taking its IP address. More...
 
void foundMyIpTaken (ip, mac, string)
 This event is emitted when this device discovers another device has taken its IP address. More...
 
void closeTableEvent ()
 IPC event. More...
 
- Public Member Functions inherited from Process
Device getOwnerDevice ()
 Returns the device for this process. More...
 

Detailed Description

ArpProcess is the process that handles ARP.

Member Function Documentation

◆ arpEntryAdded()

void ArpProcess::arpEntryAdded ( ip  ,
mac  ,
string   
)

IPC event.

◆ arpEntryRemoved()

void ArpProcess::arpEntryRemoved ( ip  ,
mac  ,
string   
)

This event is emitted when an ARP entry is removed.

  • ip, the IP address associated with the ARP entry that was removed.
  • mac, the MAC address associated with the ARP entry that was removed.
  • portName, the port associated with the ARP entry that was removed.

IPC event.

◆ closeTableEvent()

void ArpProcess::closeTableEvent ( )

IPC event.

◆ foundMyIpTaken()

void ArpProcess::foundMyIpTaken ( ip  ,
mac  ,
string   
)

This event is emitted when this device discovers another device has taken its IP address.

  • ip, the IP address of the other device.
  • mac, the MAC address of the other device.
  • portName, the port where this event was discovered from.

IPC event.

◆ foundTakingMyIp()

void ArpProcess::foundTakingMyIp ( ip  ,
mac  ,
string   
)

This event is emitted when this device discovers another device is taking its IP address.

  • ip, the IP address of the other device.
  • mac, the MAC address of the other device.
  • portName, the port where this event was discovered from.

IPC event.

◆ getArpRequestTable()

vector< ArpRequest > ArpProcess::getArpRequestTable ( )

This event is emitted when an ARP entry is added.

  • ip, the IP address associated with the ARP entry that was added.
  • mac, the MAC address associated with the ARP entry that was added.
  • portName, the port associated with the ARP entry that was added.

◆ getArpTable()

ArpTable ArpProcess::getArpTable ( )

Returns the ARP table.

Returns
ArpTable, the ARP table.

The documentation for this class was generated from the following file: